package com.spring.util;


public class GetMethodNameUtils {

    /**
     * 根据属性名获取set方法
     * @param propertyName
     * @return
     */
    public   static  String getSetMethodNameByField(String propertyName) {
        
        String methodName = "set" + propertyName.substring(0, 1).toUpperCase() + propertyName.substring(1);
        return methodName;
    }
}
